package com.xia;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Spring Boot应用程序的启动类
 * 该类通过组合使用Spring Boot的注解，实现了应用程序的自动配置和组件扫描
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启服务发现功能
public class PermissionApplication {

    public static void main(String[] args) {
        SpringApplication.run(PermissionApplication.class, args);
    }

}
